package zajinhua;

public class Player {
 String name;
 int num;
 CardsOfPlayer cards;
 
 public Player(){
	 
 }
 public Player(int num,String name){
	 this.name=name;
	 this.num=num;
 }
 public Player(CardsOfPlayer cards){
	 this.cards=cards;
 }
 
 public void viewCards(){
	 IOHelper io=new IOHelper();
	 for(Card element  :cards.myCards){
		 io.printCard(element);
	 }
 }
 
 public String getName(){
	 return this.name;
 }
}